package cn.sstir.api;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @title: ServletInitializer
 * @description: web程序启动类
 * @author: fli
 * @email: fli@sstir.cn
 * @date: 2019/8/13 15:33
 */
public class ServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(Application.class);
    }
}
